<?php 
$actionform->set('mod', 'coreModules');
if ($filterchain->match('/adminmod/'.(__id($env, $actionform, array('mod'))).'/*')):
$filter[0]["class"] = 'RedirectFilter';
$filter[0]["match"] = '*';
$filter[1]['target'] = '/admin/';
$filter[1]['condition'] = !__id($env, $actionform, array('sessionScope', 's_user', 'authenticated'));
$filterchain->addFilter($filter); unset($filter);
$filter[0]["class"] = 'PathInfoActionParamFilter';
$filter[0]["match"] = '/adminmod/'.(__id($env, $actionform, array('mod'))).'/(*?/*|*)';
$filter[1]['module'] = '/adminmod/'.(__id($env, $actionform, array('mod')));
$filter[1]['action'] = '{2}{4}';
$filter[1]['parameters'] = '{3}';
$filterchain->addFilter($filter); unset($filter);
$filter[0]["class"] = 'AdminEnvironmentFilter';
$filter[0]["match"] = '*';
$filterchain->addFilter($filter); unset($filter);
$filter[0]["class"] = 'ActionDispatcherFilter';
$filter[0]["match"] = '/adminmod/'.(__id($env, $actionform, array('mod'))).'/*';
$filter[1]['basedir'] = (__id($env, $actionform, array('globalScope', 'cfgPaths', 'basePath'))).'modules/'.(__id($env, $actionform, array('mod')));
$filter[1]['use-compiledir'] = (__id($env, $actionform, array('globalScope', 'cfgPaths', 'cacheDir'))).'modules/'.(__id($env, $actionform, array('mod'))).'/c';
$filter[1]['class-extension'] = '.php';
$filter[1]['view-by-methodname'] = 'true';
$filterchain->addFilter($filter); unset($filter);
endif;

?>